package oop3.exe;

public class Teacher {
	private String name, sex;
	private int ageOfTeaching;

	// 加上自我介绍的方法
	public void selfIntroduction() {

	}

	// 上课，子类重写
	public void giveLession() {
		System.out.println(name + "开始上课了");
	}
}
